package com.xxl.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xxl
 * @date 2023/3/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String name;
    private String pwd;
    private String status;
    public User(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
    }

    public User(String name, String pwd, String status) {
        this(name, pwd);
        this.status = status;
    }

    public User(int id, String name, String pwd) {
        this(name, pwd);
        this.id = id;
    }
}
